package com.jingdianjichi.subject.infra.basic.ES.自定义ES_鸡翅.entity;

import com.jingdianjichi.subject.common.entity.PageInfo;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 和ES交互的实体类,那个SubjectSourceData是统一的数据,便于传参的亲
 */
@Data
public class SubjectInfoES extends PageInfo implements Serializable {       //继承分页参数

    //题目id
    private Long subjectId;

    //文档id
    private Long docId;

    //题目名称
    private String subjectName;

    //题目答案
    private String subjectAnswer;

    //出题人
    private String createUser;

    //创建时间
    private Long createTime;

    //题目类型
    private Integer subjectType;

    //关键词,作为搜素的关键词
    private String keyWord;

    //相关性分数
    private BigDecimal score;

}
